Part Number Hot Search : 
57814DD L8105 LPC2926 1N6283A PESD05C 11NK50 STZ8160C 10JD1
Product Description
Full Text Search
 

To Download SX1213 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  SX1213 receiver ultra-low power integrated uhf receiver advanced communications & sensing rev.2 ? july 1 st , 2009 page 1 of 65 www.semtech.com general description the SX1213 is a low cost single-chip receiver operating in the frequency ranges from 300mhz to 510mhz. the SX1213 is optimized for very low power consumption (3ma). it incorporates a baseband demodulator with data rates up to 200 kb/s. data handling features include a sixty-four byte fifo, packet handling, crc and data whitening processing. its highly integrated architecture allows for minimum external component count whilst maintaining design flexibility. all major rf communication parameters are programmable and most of them may be dynamically set. it complies with european (etsi en 300-220 v2.1.1) and north american (fcc part 15.247 and 15.249) regulatory standards. ordering information table 1: ordering information part number delivery minimum order quantity / multiple SX1213iwltrt tape & reel 3000 pieces ? ? tqfn-32 package ? operating range [-40;+85c] ? t refers to lead free packaging ? this device is weee and rohs compliant features ? low rx power consumption: 3ma ? good reception sensitivity: down to -104 dbm at 25 kb/s in fsk, -110 dbm at 2kb/s in ook ? packet handling feature with data whitening and crc processing ? rssi (received signal strength indicator) range from rx noise floor to 0 dbm ? bit rates up to 200 kb/s, nrz coding ? on-chip frequency synthesizer ? fsk and ook modulation ? incoming sync word recognition ? built-in bit-synchronizer for incoming data and clock synchronization and recovery ? 5 x 5 mm tqfn package ? optimized circuit configuration for low-cost applications ? pin to pin compatible with sx1212 transceiver applications ? wireless alarm and security systems ? wireless sensor networks ? automated meter reading ? home and building automation ? industrial monitoring and control ? remote wireless control application circuit schematic
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 2 of 65 www.semtech.com table of contents 1. general description ................................................................... 5 1.1. simplified block diagram................................................... 5 1.2. pin diagram ....................................................................... 6 1.3. pin description................................................................... 7 2. electrical c haracteristics............................................................ 8 2.1. esd notice ........................................................................ 8 2.2. absolute maximum ratings ............................................... 8 2.3. operating range ............................................................... 8 2.4. chip specification .............................................................. 8 2.4.1. power consumption .................................................. 8 2.4.2. frequency synthesis................................................. 9 2.4.3. receiver .................................................................. 10 2.4.4. digital specification ................................................. 11 3. architecture description ........................................................... 12 3.1. power supply strategy .................................................... 12 3.2. frequency synthesis description .................................... 13 3.2.1. reference oscillator................................................ 13 3.2.2. clkout output ...................................................... 13 3.2.3. pll architecture...................................................... 14 3.2.4. pll tradeoffs.......................................................... 14 3.2.5. voltage controlled oscillator................................... 15 3.2.6. pll loop filter ........................................................ 16 3.2.7. pll lock detection indicator .................................. 16 3.2.8. frequency calculation ............................................ 16 3.3. receiver description........................................................ 18 3.3.1. architecture ............................................................. 18 3.3.2. lna and first mixer ................................................ 19 3.3.3. if gain and second i/q mixer................................. 19 3.3.4. channel filters ........................................................ 19 3.3.5. channel filters setting in fsk mode ...................... 20 3.3.6. channel filters setting in ook mode ..................... 21 3.3.7. rssi ........................................................................ 21 3.3.8. fdev setting in receive mode ................................ 23 3.3.9. fsk demodulator.................................................... 23 3.3.10. ook demodulator................................................. 23 3.3.11. bit synchronizer .................................................... 26 3.3.12. alternative settings ............................................... 27 3.3.13. data output ........................................................... 27 4. operating modes...................................................................... 28 4.1. modes of operation ......................................................... 28 4.2. digital pin configuration vs. chip mode .......................... 28 5. data processing....................................................................... 29 5.1. overview.......................................................................... 29 5.1.1. block diagram ......................................................... 29 5.1.2. data operation modes ............................................ 29 5.2. control block description ................................................ 30 5.2.1. spi interface ........................................................... 30 5.2.2. fifo ........................................................................ 32 5.2.3. sync word recognition........................................... 34 5.2.4. packet handler........................................................ 35 5.2.5. control..................................................................... 35 5.3. continuous mode ............................................................ 36 5.3.1. general description .................................................36 5.3.2. rx processing ..........................................................37 5.3.3. interrupt signals mapping ........................................37 5.3.4. uc connections........................................................38 5.3.5. continuous mode example ......................................38 5.4. buffered mode ..................................................................39 5.4.1. general description .................................................39 5.4.2. rx processing ..........................................................39 5.4.3. interrupt signals mapping ........................................40 5.4.4. uc connections........................................................41 5.4.5. buffered mode example...........................................41 5.5. packet mode.....................................................................42 5.5.1. general description .................................................42 5.5.2. packet format..........................................................42 5.5.3. rx processing ..........................................................44 5.5.4. packet filtering ........................................................44 5.5.5. dc-free data mechanisms......................................46 5.5.6. interrupt signal mapping ..........................................47 5.5.7. uc connections........................................................47 5.5.8. packet mode example .............................................48 5.5.9. additional information ..............................................48 6. configuration and status registers ..........................................49 6.1. general description..........................................................49 6.2. main configuration register - mcparam..........................49 6.3. interrupt configuration parameters - irqparam ..............51 6.4. receiver configuration parameters - rxparam ...............53 6.5. sync word parameters - syncparam.............................54 6.6. oscillator parameters - oscparam .................................55 6.7. packet handling parameters ? pktparam ......................56 7. application information .............................................................57 7.1. crystal resonator specification .......................................57 7.2. software for frequency calculation .................................57 7.2.1. gui ...........................................................................57 7.2.2. .dll for automatic production bench .........................57 7.3. switching times and procedures .....................................57 7.3.1. optimized receive cycle .........................................58 7.3.2. receiver frequency hop optimized cycle ..............59 7.4. reset of the chip..............................................................60 7.4.1. por .........................................................................60 7.4.2. manual reset ...........................................................60 7.5. reference design.............................................................61 7.5.1. application schematic..............................................61 7.5.2. pcb layout ..............................................................61 7.5.3. bill of material..........................................................62 7.5.4. ordering information for tools .................................63 8. packaging information ..............................................................63 8.1. package outline drawing .................................................63 8.2. pcb land pattern.............................................................64 8.3. tape & reel specification ................................................64 9. revision history ........................................................................65 10. contact information.................................................................65
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 3 of 65 www.semtech.com index of figures figure 1: SX1213 simplified block diagram .................................. 5 figure 2: SX1213 pin diagram ...................................................... 6 figure 3: SX1213 detailed block diagram .................................. 12 figure 4: power supply breakdown............................................. 13 figure 5: frequency synthesizer description .............................. 14 figure 6: lo generator ................................................................ 14 figure 7: loop filter ..................................................................... 16 figure 8: receiver architecture ................................................... 18 figure 9: fsk receiver setting ................................................... 18 figure 10: ook receiver setting ................................................ 18 figure 11: active channel filter description................................ 19 figure 12: butterworth filter's actual bw .................................... 21 figure 13: polyphase filter's actual bw...................................... 21 figure 14: rssi dynamic range ................................................. 22 figure 15: rssi irq timings ...................................................... 23 figure 16: ook demodulator description ................................... 24 figure 17: floor thres hold optimization...................................... 25 figure 18: bitsync description..................................................... 26 figure 19: SX1213?s data processing conceptual view ............. 29 figure 20: spi interface overview and uc connections ............. 30 figure 21: write register sequence ............................................ 31 figure 22: read register sequence............................................ 32 figure 23: read bytes sequence (ex: 2 bytes) ........................... 32 figure 24: fifo and shift register (sr)...................................... 33 figure 25: fifo threshold irq source behavior........................ 34 figure 26: sync word recognition .............................................. 34 figure 27: continuous mode conceptual view.............................36 figure 28: rx processing in continuous mode.............................37 figure 29: uc connections in continuous mode ..........................38 figure 30: buffered mode conceptual view .................................39 figure 31: rx processing in buffered mode (fifo size=16, fifo_fill_method=0).............................................................40 figure 32: uc connections in buffered mode...............................41 figure 33: packet mode conceptual view....................................42 figure 34: fixed length packet format........................................43 figure 35: variable length packet format ...................................44 figure 36: crc implementation ...................................................46 figure 37: manchester decoding..................................................46 figure 38: data whitening implementation...................................47 figure 39: uc connections in packet mode .................................47 figure 40: optimized rx cycle .....................................................58 figure 41: rx hop cycle...............................................................59 figure 42: por timing diagram...................................................60 figure 43: manual reset timing diagram ....................................60 figure 44: reference desi gn circuit schematic ...........................61 figure 45: reference design?s stackup .......................................62 figure 46: reference design layout (top view)............................62 figure 47: package outline drawing ............................................63 figure 48: pcb land pattern........................................................64 figure 49: tape & reel dimensions .............................................64
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 4 of 65 www.semtech.com index of tables table 1: ordering information ........................................................ 1 table 2: SX1213 pinouts ............................................................... 7 table 3: absolute maximum ratings ............................................. 8 table 4: operating range.............................................................. 8 table 5: power consumption specification ................................... 8 table 6: frequency synthesizer specification............................... 9 table 7: receiver specification.................................................... 10 table 8: digital specification (1) .................................................. 11 table 9: mcparam_freq_band and mcparam_subband setting .......................................................................................... 15 table 10: operating modes ......................................................... 28 table 11: pin configuration vs. chip mode ................................. 28 table 12: data operation mode selection................................... 30 table 13: config vs. data spi interface selection....................... 31 table 14: status of fifo when switching between different modes of the chip ............................................................. 34 table 15: interrupt mapping in continuous rx mode .................. 37 table 16: relevant configuration registers in continuous mode (data processing related only)............................................38 table 17: interrupt mapping in buffered rx and stby modes .......40 table 18: relevant configuration registers in buffered mode (data processing related only) .....................................................41 table 19: interrupt mapping in rx and stby in packet mode........47 table 20: relevant configuration registers in packet mode (data processing related only) .....................................................48 table 21: registers list ................................................................49 table 22: mcparam register description ....................................49 table 23: irqparam register description....................................51 table 24: rxparam register description .....................................53 table 25: syncparam register description ................................54 table 26: oscparam register description ..................................55 table 27: pktparam register description ...................................56 table 28: crystal resonator specification....................................57 table 29: reference design bom ................................................62 table 30: tools ordering information ...........................................63 acronyms bom bill of materials br bit rate bw bandwidth ccitt comit consultati f international tlphonique et tlgraphique - itu cp charge pump crc cyclic redundancy check dac digital to analog converter dds direct digital synthesis dll dynamically linked library erp equivalent radiated power etsi european telecommunications standards institute fcc federal communications commission fdev frequency deviation fifo first in first out fs frequency synthesizer fsk frequency shift keying gui graphical user interface ic integrated circuit id identificator if intermediate frequency irq interrupt request itu international telecommunication union lfsr linear feedback shift register lna low noise amplifier lo local oscillator lsb least significant bit msb most significant bit nrz non return to zero nzif near zero intermediate frequency ook on off keying pa power amplifier pcb printed circuit board pfd phase frequency detector pll phase-locked loop por power on reset rbw resolution bandwidth rf radio frequency rssi received signal strength indicator rx receiver saw surface acoustic wave spi serial peripheral interface sr shift register stby standby tx transmitter uc microcontroller vco voltage controlled oscillator xo crystal oscillator xor exclusive or
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 5 of 65 www.semtech.com this product datasheet contains a detai led description of the SX1213 performa nce and functionality. please consult the semtech website for the latest updates or errata. 1. general description the SX1213 is a single chip fsk and ook receiver capable of operation in the 300 to 510 mhz license free ism frequency bands. it complies with both the relevant euro pean and north american standards, en 300-220 v2.1.1 (june 2006 release) and fcc part 15 (10-1-2006 edition). a unique feature of this circuit is its extremely low current consumption in full active mode of only 3ma (typ ). the SX1213 is available in a 5x5 mm tqfn-32 package. 1.1. simplified block diagram figure 1: SX1213 simplified block diagram
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 6 of 65 www.semtech.com 1.2. pin diagram the following diagram shows the pins arrangement of the qfn package, top view. figure 2: SX1213 pin diagram notes: ? yyww refers to the date code ? ------ refers to the lot number
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 7 of 65 www.semtech.com 1.3. pin description table 2: SX1213 pinouts number name type description 0 gnd i exposed ground pad 1 test5 i/o connect to gnd 2 test1 i/o connect to gnd 3 vr_vco o regulated supply of the vco 4 vco_m i/o vco tank 5 vco_p i/o vco tank 6 lf_m i/o pll loop filter 7 lf_p i/o pll loop filter 8 test6 i/o connect to gnd 9 test7 i/o connect to gnd 10 xtal_p i/o crystal connection 11 xtal_m i/o crystal connection 12 test0 i connect to gnd 13 test8 i/o por. do not connect if unused 14 nss_config i spi config enable 15 nss_data i spi data enable 16 miso o spi data output 17 mosi i spi data input 18 sck i spi clock input 19 clkout o clock output 20 data o nrz data output (continuous mode) 21 irq_0 o interrupt output 22 irq_1 o interrupt output 23 pll_lock o pll lock detection output 24 test2 i/o connect to gnd 25 test3 i/o connect to gnd 26 vdd i supply voltage 27 vr_1v o regulated supply of the analog circuitry 28 vr_dig o regulated supply of digital circuitry 29 nc - connect to gnd 30 test4 i/o connect to gnd 31 rfi i rf input 32 nc - connect to gnd note: pin 13 (test 8) can be used as a manual reset trigger. see section 7.4.2 for details on its use.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 8 of 65 www.semtech.com 2. electrical characteristics 2.1. esd notice the SX1213 is a high performance radio frequency device. it satisfies: ? class 2 of the jedec standard jesd22-a114-b (human bo dy model), except on pins 3-4-5-27-28-31-where it satisfies class 1a. ? class iii of the jedec sta ndard jesd22-c101c (charged device model) on all pins. it should thus be handled with all the necessary esd precautions to avoid any permanent damage. 2.2. absolute maximum ratings stresses above the values listed below may cause permanent device failure. exposure to absolute maximum ratings for extended periods may affect device reliability. table 3: absolute maximum ratings symbol description min max unit vddmr supply voltage -0.3 3.7 v tmr storage temperature -55 125 c pmr input level - 0 dbm 2.3. operating range table 4: operating range symbol description min max unit vddop supply voltage 2.1 3.6 v trop temperature -40 +85 c ml input level - 0 dbm 2.4. chip specification conditions: temp = 25 c, vdd = 3.3 v, crystal frequen cy = 12.8 mhz, carrier frequency = 315 or 434 mhz, modulation fsk, data rate = 25 kb/s, fdev = 50 kh z, fc = 100 khz, unless otherwise specified. 2.4.1. power consumption table 5: power consumption specification symbol description conditions min typ max unit iddsl supply current in sleep mode - 0.1 2 a iddst supply current in standby mode, clkout disabled crystal oscillator running - 65 95 a iddfs supply current in fs mode frequency synthesizer running - 1.3 1.7 ma iddr supply current in receiver mode - 3.0 3.5 ma (1) information from design and characterization
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 9 of 65 www.semtech.com 2.4.2. frequency synthesis table 6: frequency synt hesizer specification ( (1) information from design and characterization symbol description conditions min typ max unit fr frequency ranges programmable (may require specific bom) 300 320 350 390 430 470 - - - - - - 330 350 390 430 470 510 mhz mhz mhz mhz mhz mhz br_f bit rate (fsk) nrz 1.56 - 200 kb/s br_o bit rate (ook) nrz 1.56 - 32 kb/s fda frequency deviation (fsk) 33 50 200 khz xtal crystal oscillator frequency 9 12.8 15 mhz fstep frequency synthesizer step variable, depending on the frequency. - 2 - khz ts_osc oscillator wake-up time from sleep mode (1) - 1.5 5 ms ts_fs frequency synthesizer wake-up time at most 10 khz away from the target from stby mode - 500 800 s 200 khz step - 180 - s 1 mhz step - 200 - s 5 mhz step - 250 - s 7 mhz step - 260 - s 12 mhz step - 290 - s 20 mhz step - 320 - s ts_hop frequency synthesizer hop time at most 10 khz away from the target 27 mhz step - 340 - s
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 10 of 65 www.semtech.com 2.4.3. receiver ? on the following table, fc and fo describe the bandwidth of the active channel filters as described in section 3.3.4.2 . all sensitivities are measured receiving a pn15 sequence, for a ber of 0.1.% table 7: receiver specification symbol description conditions min typ max unit 434 mhz, br=25 kb/s, fdev =50 khz, fc=100 khz - -104 - dbm rfs_f sensitivity (fsk) 434 mhz, 2kb/s nrz fc-fo=50 khz, fo=50 khz - -110 - dbm rfs_o sensitivity (ook) ccr co-channel rejection modulation as wanted signal - -12 - dbc offset = 300 khz, unwanted tone is not modulated - 27 - db offset = 600 khz, unwanted tone is not modulated - 52 - db acr adjacent channel rejection offset = 1.2 mhz, unwanted tone is not modulated - 57 - db offset = 1 mhz, unmodulated - -48 - dbm offset = 2 mhz, unmodulated, no saw - -37 - dbm bi blocking immunity offset = 10 mhz, unmodulated, no saw - -33 - dbm rxbw_f (1,2) receiver bandwidth in fsk mode single side bw polyphase off 50 - 250 khz rxbw_o (1,2) receiver bandwidth in ook mode single side bw polyphase on 50 - 400 khz iip3 input 3 rd order intercept point interferers at 1mhz and 1.950 mhz offset - -28 - dbm ts_re (1) receiver wake-up time from fs to rx ready - 280 500 s ts_re2 (1) receiver wake-up time from stby to rx ready - 600 900 s 200 khz step - 400 - s 1mhz step - 400 - s 5mhz step - 460 - s 7mhz step - 480 - s 12mhz step - 520 - s 20mhz step - 550 - s ts_re_hop receiver hop time from rx ready to rx ready with a frequency hop 27mhz step - 600 - s ts_rssi rssi sampling time from rx ready - - 1/fdev s dr_rssi rssi dynamic range rang ing from sensitivity - 70 - db (1) information from design and characterization (2) this reflects the whole receiver bandwidth, as described in sections 3.3.4.1 and 3.3.4.2
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 11 of 65 www.semtech.com 2.4.4. digital specification conditions: temp = 25 c, vdd = 3.3 v, crystal fre quency = 12.8 mhz, unless otherwise specified. table 8: digital specification (1) (1) information from design and characterization symbol description conditions min typ max unit vih digital input level high 0.8*vdd - - v vil digital input level low - - 0.2*vdd v voh digital output level high imax=1ma 0.9*vdd - - v vol digital output level low imax=-1ma - - 0.1*vdd v sck_config spi config. clock frequency - - 6 mhz sck_data spi data clock frequency - - 1 mhz t_data data hold and setup time 2 - - s t_mosi_c mosi setup time for spi config. 250 - - ns t_mosi_d mosi setup time for spi data. 312 - - ns t_nssc_l nss_config low to sck rising edge. sck falling edge to nss_config high. 500 - - ns t_nssd_l nss_data low to sck rising edge. sck falling edge to nss_data high. 625 - - ns t_nssc_h nss_config rising to falling edge. 500 - - ns t_nssd_h nss_data rising to falling edge. 625 - - ns note: on pin 10 (xtal_p) and 11 (xtal_n), maxi mum voltages of 1.8v can be applied.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 12 of 65 www.semtech.com 3. architecture description this section describes in depth the architec ture of this ultra low-power receiver: fsk demod bitsync ook demod control xo rssi lo1 rx lo2 rx i q lo1 rx lo2 rx rfi xtal_p xtal_m vr_ vco irq_0 irq_1 mosi miso sck nss_config clkout data nss_data test(8:0) vco_p vco_m lf_p _m vr_dig lf pll _ lock lna lo generator frequency synthesizer v r_1v figure 3: SX1213 detailed block diagram 3.1. power supply strategy to provide stable sensitivity and linearity characterist ics over a wide supply range, the SX1213 is internally regulated. this internal regulated power supply structure is described below:
SX1213 advance rev.2 ? july 1 st , 2009 page 13 of 65 www.semtech.com d communications & sensing vdd ? pin 26 2.1 ? 3.6v external supply reg_top 1.4 v reg_dig 1.0 v reg_vco 0.85 v vr_vco pin 3 biasing : -vco circuit -ext. vco tank biasing digital blocks vr_dig pin 28 biasing analog blocks vr_1v pin 27 biasing : -spi -config. registers -por 1 ? f 1 ? f y5v 220nf 100nf y5v x7r x7r vbat figure 4: power supply breakdown to ensure correct operation of the regulator circ uit, the decoupling capacitor connection shown in figure 4 is required. these decoupling components are recommended for any design. 3.2. frequency synthesis description the frequency synthesizer of the SX1213 is a fully integrat ed integer-n type pll. the pll circuit requires only five external components for the pll loop filter and the vco tank circuit. 3.2.1. reference oscillator the SX1213 embeds a crystal oscillator, which provides the reference frequency for the pll. the recommended crystal specification is given in section 7.1 . 3.2.2. clkout output the reference frequency, or a sub-multiple of it, can be provided on clkout (pin 19) by activating the bit oscparam_clkout_on. the division ratio is progra mmed through bits oscparam_clkout_freq. the two applications of the clkout output are: ? to provide a clock output for a companion uc, thus saving the cost of an additional oscillator. clkout can be made available in any operation mode, except sleep mode, and is automatically enabled at power-up. ? to provide an oscillator reference output. measurement of the clkout signal enables simple software trimming of the initial crystal tolerance. note: to minimize the current consumption of the sx 1213, ensure that the clkout signal is disabled when unused.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 14 of 65 www.semtech.com 3.2.3. pll architecture the crystal oscillator (xo) forms the reference oscill ator of an integer-n phas e locked loop (pll), whose operation is discussed in the following section. figure 5 shows a block schematic of the SX1213 pll. here the crystal reference frequency and the software controlled divi ders r, p and s determine the output frequency of the pll. pfd 75.(p i +1)+s i xo (r i +1) vr_vco xt_m xt_p lf_p lf_m vco_m vco_p lo vtune fcomp figure 5: frequency synthesizer description the vco tank inductors are connected on an external differ ential input. similarly, the loop filter is also located externally. however, there is an internal 8pf capacitance at vco input that should be subtracted from the desired loop filter capacitance. the output signal of the vco is used as the input to the local oscillator (lo) generator stage, illustrated in figure 6 . the vco frequency is subdivided and used in a series of up (down) conversions for transmission (reception). receiver los lo1 rx lo vco output 90 i q lo2 rx 8 figure 6: lo generator 3.2.4. pll tradeoffs with an integer-n pll architecture, the following criterion must be met to ensure correct operation: ? the comparison frequency, fcomp, of the phase frequen cy detector (pfd) input must remain higher than six times the pll bandwidth (pllbw) to guarantee loop stab ility and to reject harmonics of the comparison frequency fcomp. this is expressed in the inequality: 6 fcomp pllbw ? however the pllbw has to be sufficiently high to allow adequate pll lock times ? because the divider ration r determines fcomp, it should be set close to 119, leading to fcomp 100 khz which will ensure suitable pll stability and speed. with the recommended bill of materials (bom) of the reference design of section 7.5.3 , the pll prototype is the following: ? 64 ? r ? 169 ? s < p+1 ? pllbw = 15 khz nominal ? startup times and reference frequency spurs as specified.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 15 of 65 www.semtech.com 3.2.5. voltage controlled oscillator the integrated vco requires only two external tank circuit inductors. as the input is differential, the two inductors should have the same nominal value. the performance of these components is important for both the phase noise and the power consumption of the pll. it is recommended that a pair of high q factor inductors is selected. these should be mounted orthogonally to other inductors (in par ticular the lna biasing inductor) to reduce spurious coupling between the lna input and vco. for best performance wound type inductors, with tight tolerance, should be used as described in section 7.5.3 . 3.2.5.1. sw settings of the vco to guarantee the optimum operation of the vco over the SX1213?s frequency and temperature ranges, the following settings should be programmed into the SX1213: freq_band [mhz] 300mhz - 330mhz 320mhz - 350mhz l1 and l2 39nh 33 nh subbband 1 st quarter 2 nd quarter 3 rd quarter 4 th quarter 1 st quarter 2 nd quarter 3 rd quarter 4 th quarter fo [mhz] 303.75mhz 311.25mhz 318.75mhz 326.25mhz 323.75mhz 331.25mhz 338.75mhz 346.25mhz freq_band [mhz] 350mhz - 390mhz 390mhz - 430mhz l1 and l2 27nh 22nh subbband 1 st quarter 2 nd quarter 3 rd quarter 4 th quarter 1 st quarter 2 nd quarter 3 rd quarter 4 th quarter fo [mhz] 355.00mhz 365.00mhz 375.00mhz 385.00mhz 395.00mhz 405.00mhz 415.00mhz 425.00mhz freq_band [mhz] 430mhz - 470mhz 470mhz - 510mhz l1 and l2 18nh 15nh subbband 1 st quarter 2 nd quarter 3 rd quarter 4 th quarter 1 st quarter 2 nd quarter 3 rd quarter 4 th quarter fo [mhz] 435.00mhz 445.00mhz 455.00mhz 465.00mhz 475.00mhz 485.00mhz 495.00mhz 505.00mhz table 9: mcparam_freq_band and mcparam_subband setting 3.2.5.2. trimming the vco tank by hardware and software to ensure that the frequency band of operation may be accurately addressed by the r, p and s dividers of the synthesizer, it is necessary to ensure that the vco is correctly centered. no te that for the reference design (see section 7.5 ) no centering is necessary. howe ver, any deviation from the reference design may require the optimization procedure, outlined below, to be implemented. this procedure is simplified thanks to the built-in vco trimming feature which is controlled over the spi interfac e. this tuning does not require any rf test equipment, and can be achieved by simply measuring vtune, the voltage between pins 6 (lfm) and 7 (lfp). the vco is centered if the voltage is within the range: mv mvvtune 150)(50 if this inequality is not satisfied then adjust the trim_band bits from 11 (default value) to 00 whilst monitoring vtune. this allows the vco voltage to be trimmed by adding ad ditional capacitance to the vco tank. should the desired voltage range be inaccessible, the voltage may be adjusted further by changing the tank circuit inductance value. note that an increase in capacitance will result in a decrease of vtune (approximately ~60 mv per step).
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 16 of 65 www.semtech.com note for mass production: the vco capacitance is piece to piece dependant. as such, the optimization proposed above should be verified on several prototypes, to en sure that the population is centered on 100 mv. 3.2.6. pll loop filter to adequately reject spurious components arising fr om the comparison frequency fcomp, an external 2 nd order loop filter is employed. lf_m cl1 cl2 lf_p rl1 figure 7: loop filter following the recommendations made in section 3.2.4 , the loop filter pr oposed in the reference design?s bill of material on section 7.5.3 should be used. the loop filter settings are frequency band independent and are hence relevant to all implementations of the SX1213. 3.2.7. pll lock de tection indicator the SX1213 also features a pll lock detect indicator. this is useful for optimizing power consumption, by adjusting the synthesizer wake up time (ts_fs), since the pll star tup time is lower than specified under nominal conditions. the lock status can be read on bit irqparam_pll_lock, and mu st be cleared by writing a ?1? to this same register. in addition, the lock status can be reflected in pin 23 pll_lock, by setting the bit irqparam_enable_lock_detect. 3.2.8. frequency calculation as shown in figure 5 the pll structure comprises three different dividers, r, p and s, which set the output frequency through the lo. a second set of dividers is also available to allow rapid switching between a pair of frequencies: r1/p1/s1 and r2/p2/s2. these six dividers are programmed by six bytes of the register mcparam from addresses 6 to 11. 3.2.8.1. fsk mode the following formula gives the relation ship between the lo cal oscillator, and r, p and s values, when using fsk modulation. () [] sp r fxtal fskfrf flofskfrf ++ + = = )175 18 9 , 8 9 , 3.2.8.2. ook mode due to the low intermediate frequency (low-if) architecture of the SX1213 the frequency should be configured so as to ensure the correct low-if rece iver baseband center frequency, if2.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 17 of 65 www.semtech.com () [] 2)175 18 9 , ifsp r fxtal ookfrf ?++ + = 2 8 9 , iffloookfrf ?= note that from section 3.3.4 , it is recommended that if2 be set to 100 khz.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 18 of 65 www.semtech.com 3.3. receiver description the SX1213 is set to receive mode when mcparam_chip_mode = 011. fsk demod bit synchronizer ook demod control logic -pattern recognition -fifo handler -spi interface -packet handler rssi lo1 rx lo2 rx lna baseband, if2 in ook if1 rf first down- conversion second down- conversion figure 8: receiver architecture 3.3.1. architecture the SX1213 receiver employs a super-heterodyne architecture. here, the first if is 1/9 th of the rf frequency (approximately 100mhz). the second down-conversion down-converts the i and q signals to base band in the case of the fsk receiver (zero if) and to a low-if (if2) for the ook receiver. channel lo1 rx image frequency if1 100mhz first down-conversion second down-conversion 0 if2=0 in fsk mode frequencyl lo2 rx figure 9: fsk receiver setting channel lo1 rx first down-conversion second down-conversion 0 if2<0 in fsk mode e image frequency lo2 rx frequency if1 100mhz q ual to fo figure 10: ook receiver setting after the second down-conversion stage, the received signal is channel-select filtered and amplified to a level adequate for demodulation. both fsk and ook demodulation are available. finally, an optional bit synchronizer (bitsync) is provided, to be supply a synchronous clock and data stream to a companion uc in continuous mode,
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 19 of 65 www.semtech.com or to fill the fifo buffers with glitch-free data in buffe red mode. the operation of the receiver is now described in detail. note: image rejection is achieved by the saw filter. 3.3.2. lna and first mixer the performance of this amplifier is such that the no ise figure (nf) of the receiver can be estimated to be 7 db. 3.3.3. if gain and second i/q mixer following the lna and first down-conversion, there is an if amplifier whose gain can be programmed from - 13.5 db to 0 db in 4.5 db steps, vi a the register mcparam_if_gain. the default setting corresponds to 0 db gain, but lower values can be used to increase the rssi dynamic range. refer to section 3.3.7 for additional information. 3.3.4. channel filters the second mixer stages are followed by the channel select filters. the channel select filters have a strong influence on the noise bandwidth and selectivity of the re ceiver and hence its sensitivit y. each filter comprises a passive and active section. 3.3.4.1. passive filter each channel select filter features a passive second-or der rc filter, with a bandwidth programmable through the bits rxparam_passivefilt. as the wider of the two filters, its effect on the sensitivity is negligible, but its bandwidth has to be setup instead to optimize blocking immunity. t he value entered into this register sets the single side bandwidth of this filter. for optimum per formance it should be set to 3 to 4 times the cutoff frequency of the active butterworth (or polyphase) filter described in the next section. butterfilt filter passive tbutterffil fc bw fc *4 *3 , 3.3.4.2. active filter the ?fine? channel selection is performed by an active, thir d-order, butterworth filter, wh ich acts as a low-pass filter for the zero-if configuration (fsk), or a complex poly phase filter for the low-if (ook) configuration. the rxparam_polypfilt_on bit enables/disables the polyphase filter. low-pass filter for fsk ( rxparam_polyfilt_on=??0??) f c polyphase filter for ook ( rxparam_polyfilt_on=??1?? ) -f c 0 f requency f requenc 0 -f c -f o canceled side of the polyphase filter y figure 11: active channel filter description as can be seen from figure 11 , the required bandwidth of this filter varies between the two demodulation modes.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 20 of 65 www.semtech.com ? fsk mode: the 99% energy bandwidth of an fsk modulated signal is approximated to be: ? ? ? ? + = 2 *2 %,99 fdev bw fsk drifts fsk lo bwfc ? ? br the bits rxparam_butterfilt set fc, the cu toff frequency of the filter. as we ar e in a zero-if configuration, the fsk lobes are centered around the virtual ?dc? frequency. the choice of fc should be such that the modulated signal falls in the filter bandwidth, anticipating the local oscillator frequency drift over the operating temperature and aging of the device: > %,99 *2 + please refer to the charts in section 3.3.5 for an accurate overview of the filter bandwidth vs. setting. ? ook mode: the 99% energy bandwidth of an ook modulated signal is approximated to be: br tbit bw ook .2 2 %,99 == "0011" _ = the bits rxparam_polypfilt_center set fo, the center frequen cy of the polyphase filter when activated. fo should always be chosen to be equal to the low intermediate fr equency of the receiver (if2). this is why, in the gui described in section 7.2.1 of this document, the low if frequency of the ook receiver denoted if2 has been replaced by fo. the following setting is recommended: 100 = polypfilt rxparam drifts ook lo bwfofc khzfo the value stored in rxparam_butterfilt determines fc, the filter cut-off frequency. so the user should set fc according to: ? > %,99 )(*2 + again, fc as a function of rxparam_ butterfilt is given in the section 3.3.6 . 3.3.5. channel filters setting in fsk mode fc, the 3db cutoff frequency of the bu tterworth filter used in fsk reception, is programmed through the bit rxparam_butterfilt. however, the whole receiver chain in fluences this cutoff frequency. thus the channel select and resultant filter bandwidths are summarized in the following chart:
SX1213 advance rev.2 ? july 1 st , 2009 page 21 of 65 www.semtech.com d communications & sensing butterworth filter's bw, fsk 50 100 150 200 250 300 350 400 450 fc (3db cutoff) [khz] 0 024681 01 21 41 6 val (rxparam_butterfilt) [d] actual bw theoretical bw figure 12: butterworth filter's actual bw error! reference source not found. suggests filter settings in fsk mode, along with the corresponding passive filter bandwidth and the accepted tole rance on the crystal reference. 3.3.6. channel filters setting in ook mode the center frequency, fo, is always set to 100khz. the following chart shows the receiver bandwidth when changing rxparam_butterfilt bits, whilst the polyphase filter is activated. polyphase filter's bw, ook 200 250 300 350 400 450 with fo=100 khz [khz] 0 50 100 150 024681 01 21 41 6 val (rxparam_butterfilt [d] rxparam_polypfilt="0011" fc-fo actual bw theoretical bw figure 13: polyphase filter's actual bw error! reference source not found. suggests a few filter settings in ook mode, along with the corresponding passive filter bandwidth and the accepted tolerance on the crystal reference. 3.3.7. rssi after filtering, the in-phase and quadrature signals are am plified by a chain of 11 amplifiers, each with 6db gain. the outputs of these amplifiers are used to evaluate the received signal strength (rssi). 3.3.7.1. resolution and accuracy whilst the rssi resolution is 0.5 db, the absolute accuracy is not expected to be better than +/- 3db due to process and external component variation. high er accuracy whilst performing absolute rssi measurements will require additional calibration. 3.3.7.2. acquisition time
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 22 of 65 www.semtech.com in ook mode, the rssi evaluates the si gnal strength by sampling i(t) and q(t) signals 16 times in each period of the chosen if2 frequency (refer to section 3.3.1 ). in fsk mode, the signals are sampled 16 times in each fdev period, fdev being the frequency devia tion of the companion transmitter. an average is then performed over a sliding window of 16 samples. hence, the rssi output r egister rxparam_rssi is updated 16 times in each fdev or if2 period. the following settings should be respected: ? fsk mode: ensure that the fdev parameter (as desc ribed in mcparam_fdev) remains consistent with the actual frequency deviation of the companion transmitter. ? ook reception: ensure that the fdev parameter (as described in mcparam_fdev) is equal with the frequency of i(t) and q(t) signals, i.e. the second intermediate freque ncy, if2, of the receiver (note that this equals fo, the center frequency of the polyphase filter). 3.3.7.3. dynamic range the dynamic range of the rssi is over 70 db, extending fr om the nominal sensitivity level. the if gain setting available in mcparam_if_gain is used to achieve this dynamic range: rssi response 20 40 60 80 100 120 140 160 180 rssi_val [0.5db/bit] 0 -120 -100 -80 -60 -40 -20 0 pin [dbm] if_gain=00 if_gain=01 if_gain=10 if_gain=11 figure 14: rssi dynamic range the rssi response versus input signal is independent of the receiver filter bandwidth. however in the absence of any input signal, the minimum value directly reflects upon t he noise floor of the receiver, which is dependant on the filter bandwidth of the receiver. 3.3.7.4. rssi irq source the SX1213 can also be used to detect a rssi level abov e a pre-configured threshold. the threshold is set in irqparam_rssi_irq_thresh and the irq status stored in irqparam_rssi_i rq (cleared by writing a ?1?). an interrupt can be mapped to the irq0 or irq1 pins via bits irqparam_rx_stby_irq0 or irqparam_rx_stby_irq1. figure 15 shows the timing diagram of the rssi interrupt source, with irqparam_rssi_irq_thresh set to 28.
SX1213 advance rev.2 ? july 1 st , 2009 page 23 of 65 www.semtech.com d communications & sensing clear interrupt irqparam_rssi_irq 24 26 27 30 25 20 20 20 18 22 20 22 34 33 33 rxparam_rssi_val(7:0) figure 15: rssi irq timings 3.3.8. fdev setting in receive mode the effect of the fdev setting is different between fsk and ook modes: 3.3.8.1. fsk rx mode in fsk mode the fdev setting, as configured by mcpara m_freq_dev, sets sampling frequencies on the receiver. the user should make it consistent with the frequency deviation of the fsk signal that is received. 3.3.8.2. ook rx mode the frequency deviation fdev, as described above, sets th e sampling rate of the rssi block. it is therefore necessary to set fdev to the recommended low-if frequency, if2, of 100 khz: "00000011 1002 = "__ = = mcparam khz iffdev devfreq 3.3.9. fsk demodulator the fsk demodulator provides data polarity information, based on the relative phase of the input i and q signals at the baseband. its outputs can be fed to the bit synchronizer to recover the timing information. the user can also use the raw, unsynchronized, output of the fsk demodulator in continuous mode. the fsk demodulator of the SX1213 operates most effectiv ely for fsk signals with a modulation index greater than or equal to two: 2 *2 = br fdev 3.3.10. ook demodulator the ook demodulator performs a comparison of the rssi output and a threshold value. three different threshold modes are available, programmed through the rxparam_ook_thresh_type register. the recommended mode of operation is the ?peak? threshold mode, illustrated below in figure 16 :
SX1213 adv rev.2 ? july 1 st , 2009 page 24 of 65 www.semtech.com anced communications & sensing zoom period as defined in rxparam_ook_thresh_dec_period decay in db as defined in rxparam_ook_thresh_step fixed 6db difference rssi (db) noise floor of receiver ??floor?? threshold defined by mcparam_ook_floor_thresh time ??peak -6db?? threshold zoom figure 16: ook demodulator description in peak threshold mode the comparison threshold level is the peak value of the rssi, reduced by 6db. in the absence of an input signal or during the reception of a logical ?0?, the acquired peak value is decremented by one rxparam_ook_thresh_step every rx param_ook_thresh_dec_period. when the rssi output is null for a long ti me (for instance after a long string of ?0? received, or if no transmitter is present), the peak threshold level will continue falling until it reaches the ?floor threshold? that is programmed through the register mcparam_ook_floor_thresh. the default settings of the ook demodulator lead to the pe rformance stated in the electrical specification. however, in applications in which sudden signal drops are awaited during a reception, the three parameters shall be optimized accordingly. 3.3.10.1. optimizing the floor threshold mcparam_ook_floor_thres determines the sensitivity of the ook receiver, as it sets the comparison threshold for weak input signals (i.e. those close to the noise floor). significant sensitivity improvements can be generated if configured correctly. note that the noise floor of the receiv er at the demodulator input depends on: ? the noise figure of the receiver. ? the gain of the receive chain from antenna to base band. ? the matching - including saw filter. ? the bandwidth of the channel filters. it is therefore important to note that the setting of mc param_ook_floor_thresh will be application dependant. the following procedure is recommended to optimize mcparam_ook_floor_thresh.
SX1213 advance rev.2 ? july 1 st , 2009 page 25 of 65 www.semtech.com d communications & sensing set sx1210 in ook rx mode adjust bit rate, channel filter bw default rxparam_ook_thresh setting no input signal continuous mode optimization complete glitch activity on data ? monitor data pin (pin 20) increment mcparam_ook_floor_thres figure 17: floor threshold optimization the new floor threshold value found during this test should be the value used for ook reception with those receiver settings. note that if the output signal on data is logic ?1?, the value of mcparam_ook_floor_thres is below the noise floor of the receiver chain. conversely, if the output signal on data is logic ?1?, the value of maparam_floor_thres is several db above the noise floor. 3.3.10.2. optimizing ook demodulato r response for fast fading signals a sudden drop in signal strength can cause the bit error rate to increase. for applications where the expected signal drop can be estimated the following ook demodulator parameters rxparam_ook_thresh_step and rxparam_ook_thresh_dec_period can be optimized as described below for a given number of threshold decrements per bit rxparam_ook_thresh_dec_period: ? 000 ? once in each chip period (d) ? 001 ? once in 2 chip periods ? 010 ? once in 4 chip periods ? 011 ? once in 8 chip periods ? 100 ? twice in each chip period ? 101 ? 4 times in each chip period ? 110 ? 8 times in each chip period ? 111 ? 16 times in each chip period for each decrement of rxparam_ook_thresh_step: ? 000 ? 0.5 db (d) ? 001 ? 1.0 db ? 010 ? 1.5 db ? 011 ? 2.0 db ? 100 ? 3.0 db ? 101 ? 4.0 db ? 110 ? 5.0 db ? 111 ? 6.0 db
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 26 of 65 www.semtech.com 3.3.10.3. alternative ook demodulator threshold modes in addition to the peak ook threshold mode, the user c an alternatively select two other types of threshold detectors: ? fixed threshold: the value is selected through t he mcparam_ook_floor_thresh register (refer to section 3.3.10.1 for further information concerning opt imization of the floor threshold). ? average threshold: data supplied by the rssi bl ock is averaged with the following cutoff frequency: *8 00 __ br fcutoff cutoff ook rxparam = ?= *32 11 __ br fcutoff cutoff ook rxparam = ?= in the first example, the higher cut-off frequency enables a sequence of up to 8 consecutive ?0? or ?1? to be supported, whilst the lower cut-off frequency presented in t he second example allows for the correct reception of up to 32 consecutive ?0? or ?1?. 3.3.11. bit synchronizer the bit synchronizer (bitsync) is a bloc k that provides a clean and synchronized digital output, free of glitches. raw demodulator output (fsk or ook) data dclk irq_1 bitsync output to pin data and dclk in continuous mode figure 18: bitsync description the bitsync can be disabled through th e bits rxparam_bitsync_off, and by ho lding pin irq1 low. however, for optimum receiver performance, its us e when running continuous mode is st rongly advised. with this option a dclk signal is present on pin irq_1. the bitsync is automatically activated in buffered and pack et modes. the bit synchronizer bit-rate is controlled by mcparam_br. for a given bit rate, this parameter is determined by: [] br mcparam f br xtal _ 1*64 + =
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 27 of 65 www.semtech.com for proper operation, the bit synchronizer must first rece ive three bytes of alternating logic value preamble, i.e. ?0101? sequences. after this start up phase, the rising edge of dclk signal is centered on the demodulated bit. subsequent data tran sitions will preserve this centering. this has two implications: ? firstly, if the bit rates of transmitter and rece iver are known to be the same, the SX1213 will be able to receive an infinite unbalanced sequence (all ?0s? or all ?1s?) with no restriction. ? if there is a difference in bit rate between tx and rx, t he amount of adjacent bits at the same level that the bitsync can withstand can be estimated as: b r br ts numberofbi = * 2 1 this implies approximately 6 consecutive unbalanced bytes when the bit rate precision is 1%, which is easily achievable (crystal tolerance is in the range of 50 to 100 ppm). 3.3.12. alternative settings bit synchronizer and active channel filter settings are a function of the reference oscillator crystal frequency, f xtal . settings other than those programmable with a 12.8 mh z crystal can be obtained by selection of the correct reference oscillator frequency. please contact your local semtech repr esentative for further details. 3.3.13. data output after ook or fsk demodulation, the baseband signal is made available to the user on pin 20, data, when continuous mode is selected. in buffered and packet modes, the data is retrie ved from the fifo through the spi interface.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 28 of 65 www.semtech.com 4. operating modes this section summarizes the settings for each oper ating mode of the SX1213, and explains the functionality available and the timing requirements for switching between modes. 4.1. modes of operation table 10: operating modes mode mcparam_chip_mode active blocks sleep 000 spi, por standby 001 spi, por, top regulator, digital re gulator, xo, clkout (if activated through oscparam_clkout) fs 010 same + vco regulator, all pll and lo generation blocks receive 011 same as fs mode + lna, first mixe r, if amplifier, second mixer set, channel filters, baseband amplifie rs and limiters, rssi, ook or fsk demodulator, bitsync and all digital features if enabled 4.2. digital pin configuration vs. chip mode table 11 describes the state of the digital ios in each of t he above described modes of operation, regardless of the data operating mode. table 11: pin configuration vs. chip mode chip ???. mode pin sleep mode standby mode fs mode receive mode comment nss_config input i nput input input nss_config has the priority over nss_data nss_data input i nput input input miso input input input input output only if nss_config or nssdata=?0? mosi input input input input sck input input input input irq_0 high-z output (1) output (1) output irq_1 high-z output (1) output (1) output data (3) high-z high-z high-z output clkout high-z output output output pll_lock high-z output (4) output (4) output (4) notes: (1): high-z if continuous mode is activated, else output (2): valid logic states must be applied to inputs at all times to avoid unwanted leakage currents (3): tie to vss (or vdd) when not in active receive mode. (4): output if pll_lock_en = 1, else high-z
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 29 of 65 www.semtech.com 5. data processing 5.1. overview 5.1.1. block diagram figure 19 , illustrates the SX1213 data processing circuit. its role is to interface the data from the demodulator and the uc access points (spi, irq and data pins). it al so controls all the configuration registers. the circuit contains several control blocks which are described in the following paragraphs. control config spi packet handler sync recog. data data irq_0 irq_1 sck nss_data rx miso mosi rx data SX1213 fifo (+sr) tx figure 19: SX1213?s data processing conceptual view the SX1213 implements several data operation modes, each with their own data path through the data processing section. depending on the data operation mode selected, so me control blocks are active whilst others remain disabled. 5.1.2. data operation modes the SX1213 has three different data operation modes selectable by the user: ? continuous mode : each bit received is accessed in real ti me at the data pin. this mode may be used if adequate external signal processing is available. ? buffered mode : each byte received is stored in a fifo and ac cessed via the spi bus. uc processing overhead is hence significantly reduced compared to continuo us mode operation. the packet length is unlimited. ? packet mode (recommended) : user only retrieves payload bytes to/from the fifo. sync word is automatically detected and stripped off while optional crc check and dc free data decoding can be performed. the uc processing overhead is hence reduced further compared to buffered mode. the maximum payload length is limited to the maximum fifo limit of 64 bytes
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 30 of 65 www.semtech.com table 12: data operation mode selection mcparam_data_mode data operation mode 00 continuous 01 buffered 1x packet each of these data operation modes is described fully in the following sections. 5.2. control block description 5.2.1. spi interface 5.2.1.1. overview as illustrated in the figure 20 below, the SX1213?s spi interface consists of two sub blocks: ? spi config : used in all data operation modes to read and write the configuration register s which control all the parameters of the chip (operating mode, bit rate, etc...) ? spi data : used in buffered and packet mode to read data byte s from the fifo. (fifo interrupts can be used to manage the fifo content.) spi data (slave) mosi miso sck spi config (slave) config. registers SX1213 nss_data nss_config nss_config mosi miso sck nss_data config. registers fifo c (master) figure 20: spi interface overview and uc connections both interfaces are configured in slave mode whilst the uc is configured as the master. they have separate selection pins (nss_config and nss_data) but share the remaining pins: ? sck (spi clock): clock signal provided by the uc ? mosi (master out slave in): data input signal provided by the uc ? miso (master in slave out): data output signal provided by the SX1213 as described below, only one interface can be selected at a time with nss_config having the priority:
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 31 of 65 www.semtech.com table 13: config vs. data spi interface selection nss_data nss_config spi interface 0 0 config 0 1 data 1 0 config 1 1 none the following paragraphs describe how to use each of these interfaces. 5.2.1.2. spi config ? write register to write a value into a configuration register the timing diagram below should be carefully followed by the uc. the register?s new value is effective from the rising edge of nss_config. start a(4) a(3) a(2) a(1) d(7) d(6) d(5) d(4) d(3) d(2) d(1) d(0) sck (in) mosi (in) nss_config (in) x x x x x x x d(7) d(6) d(5) d(4) d(3) d(2) d(1) miso (out) rw a(0) address = a1 current value at address a1* * when writing the new value at address a1, the current content of a1 can be read by the uc. (in)/(out) refers to sx1210 side new value at address a1 x hz d(0) hz stop 1 5 4 3 2 6 9 8 7 10 11 12 13 14 15 16 figure 21: write register sequence note that when writing more than one register successive ly, it is not compulsory to toggle nss_config back high between two write sequences. the bytes are alternatively considered as address and value. in this instance, all new values will become effective on rising edge of nss_config. ? read register to read the value of a configuration register the timi ng diagram below should be carefully followed by the uc.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 32 of 65 www.semtech.com start a(4) a(3) a(2) a(1) x x x x x x x d(7) d(6) d(5) d(4) d(3) d(2) d(1) sck (in) mosi (in) miso (out) nss_config (in) rw a(0) address = a1 current value at address a1 x hz d(0) hz stop 1 5 4 3 2 6 9 8 7 10 11 12 13 14 15 16 xxxxx x x x figure 22: read register sequence note that when reading more than one register successive ly, it is not compulsory to toggle nss_config back high between two read sequences. the bytes are alte rnatively considered as address and value. 5.2.1.3. spi data to read bytes from the fifo the timing diagram below should be carefully followed by the uc. sck (in) miso (out) d1(6) d1(5) d1(4) d1(3) d1(2) d1(1) d2(7) d2(6) d2(5) d2(4) d2(3) d2(2) d2(1) d2(0) d1(0) 1 s t byte read d1(7) hz hz mosi (in) x x x x x x x x x x x x x x x x hz nss_data (in) 1 5 4 3 2 6 8 7 1 5 4 3 2 6 8 7 2 n d byte read x figure 23: read bytes sequence (ex: 2 bytes) note that it is compulsory to toggle nss_data back high between each byte read. 5.2.2. fifo 5.2.2.1. overview and shift register (sr)
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 33 of 65 www.semtech.com in buffered and packet modes of operation, data that have been received are stored in a configurable fifo (first in first out) device. it is accessed via the spi data interface and provides several interrupts for transfer management. the fifo is 1 byte (8 bits) wide hence it only perform s byte (parallel) operati ons, whereas the demodulator functions serially. a shift register is therefore employed to interface the two devices. in rx the shift register gets bit by bit data from the demodulator and wr ites them byte by byte to the fifo . this is illustrated in figure below. data rx 8 1 sr (8bits) byte0 byte1 fifo msb lsb figure 24: fifo and shift register (sr) 5.2.2.2. size selection the fifo width is programmable, to 16, 32, 48 or 64 bytes via mcparam_fifo_size 5.2.2.3. interrupt sources and flags all interrupt sources and flags are configured in the irqparam section of the config uration register, with the exception of fifo_threshold : ? /fifoempty: /fifoempty interrupt source is low when byte 0, i.e. whole fifo, is empty. otherwise it is high. note that when retrieving data from the fifo, /fifoemp ty is updated on nss_data falling edge, i.e. when /fifoempty is updated to low state the currently started read operation mu st be completed. in other words, /fifoempty state must be checked after each read operation for a decision on the next one (/fifoempty = 1: more byte(s) to read; /fifoempty = 0: no more byte to read). ? write_byte: write_byte interrupt source goes high for 1 bit period each time a new byte is transferred from the sr to the fifo (i.e. each time a new byte is received) ? fifofull: fifofull interrupt source is high when the last fifo byte, i.e. the whole fifo, is full. otherwise it is low. ? fifo_overrun_clr: fifo_overrun_clr flag is set when a new byte is written by the sr while the fifo is already full. data is lost and the flag should be cleared by writing a 1, note that the fifo will also be cleared. ? fifo_threshold: fifo_threshold interrupt source?s be havior can be programmed via mcparam_fifo_thresh (b value). this behavior is illustrated in figure 25 .
SX1213 advance rev.2 ? july 1 st , 2009 page 34 of 65 www.semtech.com d communications & sensing # of bytes in fifo irq source 0 1 b b+1 rx & stby figure 25: fifo threshold irq source behavior 5.2.2.4. fifo clearing table 14 below summarizes the status of the fi fo when switching between different modes table 14: status of fifo when switchin g between different modes of the chip from to fifo status comments stby rx cleared rx stby not cleared in packet & buffered m odes fifo can be read in stby after rx any sleep cleared 5.2.3. sync word recognition 5.2.3.1. overview sync word recognition (also called pattern recogni tion in previous products) is activated by setting rxparam_sync_on. the bit synchronizer must also be activated. the block behaves like a shift register; it continuously compares the incoming data with its internally programmed sync word and asserts the sync irq source on each occasion that a ma tch is detected. this is illustrated in figure 26 . rx data (nrz) dclk sync_value[x] sync_value[1] sync_value[0] bit n-x = bit n-1 = bit n = sync figure 26: sync word recognition during the comparison of the demodulated data, the first bit received is compared with bit 7 (msb) of byte at address 22 and the last bit received is compared with bit 0 (lsb) of the last byte whose address is determined by the length of the sync word.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 35 of 65 www.semtech.com when the programmed sync word is detected the user can assume that this incoming packet is for the node and can be processed accordingly. 5.2.3.2. configuration ? size: sync word size can be set to 8, 16, 24 or 32 bits via rxparam_sync_size. ? error tolerance: the number of errors tolerated in the sync word recognition can be set to 0, 1, 2 or 3 via rxparam_sync_tol. ? value: the sync word value is configured in syncparam_sync_value. 5.2.4. packet handler the packet handler is the block used in packet m ode. its functionality is fully described in section 5.5 . 5.2.5. control the control block configures and controls the full chip?s behavior according to the settings programmed in the configuration registers.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 36 of 65 www.semtech.com 5.3. continuous mode 5.3.1. general description as illustrated in figure 27 , in continuous mode the nrz data from the dem odulator is directly accessed by the uc on the data pin (20). the spi data, fifo and packet handler are thus inactive. control config spi sync recog. data irq_1(dclk) miso mosi sck nss_config rx rx irq_0 datapath SX1213 data figure 27: continuous mode conceptual view
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 37 of 65 www.semtech.com 5.3.2. rx processing if the bit synchronizer is disabled, the raw demodulator output is made directly ava ilable on data pin and no dclk signal is provided. conversely, if the bit synchronizer is enabled, synchronous cleaned data and clock are made available respectively on data and irq_1 pins. data is sampled on the ri sing edge of dclk and updated on the falling edge as illustrated in figure 28 . data (nrz) dclk figure 28: rx processing in continuous mode note that in continuous mode it is always recommended to enable the bit synchronizer to clean the data signal even if the dclk signal is not used by the uc. (bit syn chronizer is automatically enabled in buffered and packet mode). 5.3.3. interrupt signals mapping the tables below give the description of t he interrupts available in continuous mode. rx_stby_irq_0 rx 00 (d) sync 01 rssi irq_0 1x - irq_1 dclk table 15: interrupt mapping in continuous rx mode note: in continuous mode, no interrupt is available in stby mode
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 38 of 65 www.semtech.com 5.3.4. uc connections uc SX1213 irq_0 irq_1 (dclk) data nss_config sck mosi miso figure 29: uc connections in continuous mode note that some connections may not be needed depending on the application: ? irq_0: if sync and rssi interrupts are not used. in this case, leave floating. ? irq_1: dclk connection is not com pulsory. in this case, leave floating. ? miso: if no read register access is needed. in this case, pull-up to vdd through a 100 k ? resistor. in addition, nss_data pin (unused in continuous mode) should be pulled-up to vdd through a 100 k ? resistor. please refer to table 11 for SX1213?s pins configuration 5.3.5. continuous mode example ? configure all data processing related registers listed below appropriately. in this ex ample we assume that both bit synchronizer and sync word recognition are on. table 16: relevant configuration registers in continuous mode (data processing related only) description mcparam data_mode_x defines data operation mode ( ? continuous) irqparam rx_stby_irq_0 defines irq_0 source in rx mode sync_on enables sync word recognition sync_size defines sync word size rxparam sync_tol defines the error tolerance on sync word recognition syncparam sync_value defines sync word value ? program rx interrupts: irq_0 mapped to sync (r x_stby_irq_0=?00?) and irq_1 mapped to dclk (bit synchronizer enabled) ? go to rx mode (note that rx is not ready immediately, see figure 40 ) ? wait for sync interrupt ? get all packet bits on data pin synchro nously with dclk signal provided on irq_1 ? go to sleep mode
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 39 of 65 www.semtech.com 5.4. buffered mode 5.4.1. general description as illustrated in figure 30 , for buffered mode operation the nrz data from the demodulator is not directly accessed by the uc but stored in the fifo and accessed via the spi data interface. this frees the uc for other tasks between processing data from the SX1213, furthermore it simplifies software development and reduces uc performance requirements (speed, reactivity). note t hat in this mode the packet handler stays inactive. an important feature is also the ability to empty the fifo in stby mode, ensuring low power consumption and adding greater software flexibility. control fifo (+sr) data config spi sync recog. irq_0 irq_1 miso mosi sck nss_data nss_config rx datapath SX1213 data figure 30: buffered mode conceptual view note that bit synchronizer is automatically enabled in bu ffered mode. the sync word recognition must be enabled (rxparam_sync_on=1) independently of the fifo filli ng method selected (irqparam_fifo_fill_method). 5.4.2. rx processing after entering rx in buffered mode, the chip requires the uc to retrieve the received data from the fifo. the fifo will actually start being filled with rece ived bytes either; when a sy nc word has been detected (in this case only the bytes following the sync word are filled into the fifo) or when the fifo_fill bit is asserted by the user - depending on the state of bit, irqparam_fifo_fill_method. in buffered mode, the packet length is not limited i.e. as lo ng as fifo_fill is set, the received bytes are shifted into the fifo. the uc software must therefore manage the transfer of t he fifo contents by interrupt and ensure reception of the correct number of bytes. (in this mode, even if the re mote transmitter has stopped, the demodulator will output random bits from noise)
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 40 of 65 www.semtech.com when the fifo is full, fifofull irq sour ce is asserted to alert the uc, that at that time, the fifo can still be unfilled without data loss. if the fifo is not unfilled, once the sr is also full (i.e. 8 bits periods later) fifo_overrun_clr is asserted and sr?s content is lost. figure 31 illustrates an rx processing with a 16 bytes fifo size and fifo_fill_method=0. please note that in the illustrative example of section 5.4.5 , the uc does not retrieve any byte from the fifo through spi data, causing overrun. b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b14 b15 b12 b13 b16 sync preamble ?noisy? data b0 b1 b5 b2 b3 b4 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 0 15 data rx (to sr) start condition (cf. fifo_fill_method) /fifoempty fifofull fifo_overrun_clr write_byte fifo figure 31: rx processing in buffered mode (fifo size=16, fifo_fill_method=0) 5.4.3. interrupt signals mapping the tables below describe the interrupts available in buffered mode. rx_stby_irq_x rx stby 00 (d) - - 01 write_byte - 10 /fifoempty /fifoempty irq_0 11 sync - 00 (d) - - 01 fifofull fifofull 10 rssi - irq_1 11 fifo_threshold fifo_threshold table 17: interrupt mapping in buffered rx and stby modes
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 41 of 65 www.semtech.com 5.4.4. uc connections uc SX1213 irq_0 irq_1 nss_config sck mosi miso nss_data figure 32: uc connections in buffered mode note that depending upon the application, some uc connections may not be needed: ? irq_0: if none of the relevant irq source s are used. in this case, leave floating. ? irq_1: if none of the relevant irq source s are used. in this case, leave floating. in addition, data pin (unused in buffered mode) should be pulled-up to vdd through a 100 k ? resistor. please refer to table 11 for the SX1213?s pin configuration. 5.4.5. buffered mode example ? configure all data processing related registers listed below appropriately. in this example we assume sync word recognition is on and fifo_fill_method=0. description data_mode_x defines data operation mode ( ? buffered) fifo_size defines fifo size mcparam fifo_thresh defines fifo threshold rx_stby_irq_0 defines irq_0 s ource in rx & stby modes rx_stby_irq_1 defines irq_1 s ource in rx & stby modes fifo_fill_method define s fifo filling method irqparam fifo_fill controls fi fo filling status sync_size defines sync word size rxparam sync_tol defines the error tolerance on sync word detection syncparam sync_value defines sync word value table 18: relevant configuration registers in buffered mode (data processing related only) ? program rx/stby interrupts: irq_0 mapped to /f ifoempty (rx_stby_irq_0=10) and irq_1 mapped to fifo_threshold (rx_stby_irq_1=01). configure fifo_thresh to an appropriate value (ex: to detect packet end if its length is known) ? go to rx mode (note that rx is not ready immediately, cf section 7.3.1 ). ? wait for fifo_threshold interrupt (i.e. sync word ha s been detected and fifo filled up to the defined threshold). ? if it is packet end, go to stby (sr?s content is lost). ? read packet bytes from fifo until /fifoempty goes low (or correct number of bytes is read). ? go to sleep mode.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 42 of 65 www.semtech.com 5.5. packet mode 5.5.1. general description similar to buffered mode operation, in packet mode the nr z data from the demodulator is not directly accessed by the uc but stored in the fifo and acce ssed via the spi data interface. in addition, the SX1213?s packet handler performs several packet oriented tasks such as preamble and sync word extraction, crc check, dewhit ening of data, address filtering, etc. this simplifies still further softw are and reduces uc overhead by performing these repetitiv e tasks within the rf chip itself. another important feature is ability to empty the fifo in stby mode, ensuring opt imum power consumption and adding more flexibility for the software. control data config spi packet handler sync recog. irq_0 irq_1 miso mosi sck nss_data nss_config rx datapath SX1213 data fifo (+sr) figure 33: packet mode conceptual view note that bit synchronizer and sync word recogni tion are automatically enabled in packet mode. 5.5.2. packet format two types of packet formats are supported: fix ed length and variable length, selectable by the pktparam_pkt_format bit. the maximum size of the payload is limited by the size of the fifo selected (16, 32, 48 or 64 bytes). 5.5.2.1. fixed length packet format in applications where the packet length is fixed in advance, this mode of operation may be of interest to minimize rf overhead (no length byte field is required). all nodes should be programmed with the same packet length value. the length of the payload is set by the pktparam_payload_le ngth register and is limited by the size of the fifo selected.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 43 of 65 www.semtech.com the length stored in this register relates only to the payload which includes the message and the optional address byte. in this mode, the payload must contain at least one byte, i.e. address or message byte. an illustration of a fixed length packet is shown in figure 34 . it contains the following fields: ? preamble (1010...). ? sync word (network id). ? optional address byte (node id). ? message data. ? optional 2-bytes crc checksum. message 0 to (fifo size) bytes address byte crc 2-bytes sync word 1 to 4 bytes preamble 1 to 4 bytes payload/fifo crc checksum calculation fields processed and removed by the packet handler optional user provided fields which are part of the payload message part of the payload optional dc free data decoding figure 34: fixed length packet format 5.5.2.2. variable length packet format this mode is necessary in applications where the length of the packet is not known in advance and can vary over time. it is then necessary for the transmitter to send the le ngth information together with each packet in order for the receiver to operate properly. in this mode the length of the payload, indicated by the length byte in figure 35 , is given by the first byte of the fifo and is limited only by the size (width of 8bits) of t he fifo selected. note that t he length byte itself is not included in its calculation. in this mode, the payload must contain at least 2 bytes, i. e. length + address or message byte. an illustration of a variable length packet is shown in figure 35 . it contains the following fields: ? preamble (1010...). ? sync word (network id). ? length byte ? optional address byte (node id). ? message data. ? optional 2-bytes crc checksum.
SX1213 advance rev.2 ? july 1 st , 2009 page 44 of 65 www.semtech.com d communications & sensing message 0 to (fifo size - 1) bytes address byte length byte crc 2-bytes sync word 1 to 4 bytes preamble 1 to 4 bytes payload/fifo crc checksum calculation fields processed and removed by the packet handler optional user provided fields which are part of the payload message part of the payload optional dc free data decoding figure 35: variable length packet format 5.5.3. rx processing in rx mode the packet handler extracts the user payload to the fifo by performing the following operations: ? receiving the preambl e and stripping it off. ? detecting the sync word and stripping it off. ? optional dc-free decoding of data. ? optionally checking the address byte. ? optionally checking crc and reflecting the resu lt on crc_status bit and crc_ok irq source. only the payload (including optional address and le ngth fields) is made available in the fifo. payload_ready and crc_ok interrupts (the latter only if crc is enabled) can be generated to indicate the end of the packet reception. by default, if the crc check is enabled and fails for the cu rrent packet, then the fifo is automatically cleared and neither of the two interrupts are generated and new packet reception is started. this autoclear function can be disabled via pktparam_crc_autoclr bit and, in this case, even if crc fails, the fifo is not cleared and only payload_ready irq source is asserted. once fully received, the payload can also be fully or partially retrieved in stby mode via pktparam_fifo_stby_access. at the end of the reception, although the fifo au tomatically stops being filled, it is still up to the user to explicitly exit rx mode if required. (e.g. go to stby to get payload). fifo must be empty for a new packet reception to start. 5.5.4. packet filtering SX1213?s packet handler offers several mechanisms for packet filtering ensuring that only useful packets are made available to the uc, reducing significantly sy stem power consumption and software complexity. 5.5.4.1. sync word based sync word filtering/recognition is automatically enabled in packet mode. it is used for identifying the start of the payload and also for network identification. as previously described, the sync word re cognition block is configured (size, error tolerance, value) via rxparam_sync_s ize, rxparam_sync_tol and syncparam configuration registers. this information is used to filter packets in rx. every received packet which does not start with this loca lly configured sync word is aut omatically discarded and no interrupt is generated.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 45 of 65 www.semtech.com when the sync word is detected, payload reception automatically starts and sync irq source is asserted. 5.5.4.2. address based address filtering can be enabled via the pktparam_adrs_filt bits. it adds another level of filtering, above sync word, typically useful in a multi-node networks where a network id is shared between all nodes (sync word) and each node has its own id (address). three address based filtering options are available: ? adrs_filt = 01: received addres s field is compared with internal regi ster node_adrs. if they match then the packet is accepted and processed, otherwise it is discarded. ? adrs_filt = 10: received address field is compared with internal register node_a drs and the constant 0x00. if either is a match, the received pack et is accepted and process ed, otherwise it is discarded. this additional check with a constant is useful for implementing broadcast in a multi-node networks. ? adrs_filt = 11: received address field is compared with internal register node_adrs and the constants 0x00 & 0xff. if any of the three matches, then the received pa cket is accepted and proc essed, otherwise it is discarded. these additional checks with constants ar e useful for implementing broadcast commands of all nodes. please note that the received address byte, as part of the payload, is not stripped off the packet and is made available in the fifo. 5.5.4.3. length based in variable length packet mode, pktparam_payload_l ength must be programmed with the maximum length permitted. if received length byte is smaller than this maximum then the packet is accepted and processed, otherwise it is discarded. please note that the received length byte, as part of the payload, is not stripped off the packet and is made available in the fifo. to disable this function the user should set the value of the pktparam_payload_length to the value of the fifo size selected. 5.5.4.4. crc based the crc check is enabled by setting bit pktparam_crc_on. it is used for checking the integrity of the message. ? on your tx side a two byte crc checksum should be calculated on the payload part of the packet and appended to the end of the message. ? on SX1213 (rx side) the checksum is calculated on the received payload and compared with the two checksum bytes received. the result of the comp arison is stored in the pktparam_crc_status bit and crc_ok irq source. by default, if the crc check fails then the fifo is automatically cleared and no interrupt is generated. this filtering function can be disabled via pktparam_crc_autoclr bit and in this case, even if crc fails, the fifo is not cleared and only payload_ready interrupt goes high. please note that in both cases, the two crc checksum bytes are stripped off by the packet handler and only the payload is made available in the fifo. the crc is based on the ccitt polynomial as shown in figure 36 . this implementation also detects errors due to leading and trailing zeros.
SX1213 adv rev.2 ? july 1 st , 2009 page 46 of 65 www.semtech.com anced communications & sensing x 14 x 13 x 12 x 11 x 5 x 0 x 15 crc polynomial =x 16 + x 12 + x 5 + 1 * * * x 4 * * * data input figure 36: crc implementation 5.5.5. dc-free data mechanisms two techniques are supported by the SX1213 packet handl er: manchester decoding and data whitening. please note that only one of the two methods should be enabled at a time. 5.5.5.1. manchester decoding manchester decoding is enabled by setting bit pktparam_ manchester_on and can only be used in packet mode. the nrz data to manchester codes ?1? as ?10? and ?0? as ?01?. in this case, the maximum chip rate is the maximum bit ra te given in the specifications section and the actual bit rate is half the chip rate. manchester decoding is only applied to the payload and crc checksum while preamble and sync word are kept nrz. however, the chip rate from preamble to crc is the same and defined by mcparam_br (chip rate = bit rate nrz = 2 x bit rate manchester). manchester decoding is thus made transparent for the user, who still retrieves nrz data from the fifo. ...sync payload... rf chips @ br ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... 1/br 1/br user/nrz bits manchester off ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester on ... 1 1 1 0 1 0 0 1 0 0 1 1 ... t figure 37: manchester decoding 5.5.5.2. data dewhitening another technique called whitening or scrambling is widel y used for randomizing the user data before radio transmission. the data is whitened using a random seq uence on the tx side and de-whitened on the SX1213 (rx side) using the same sequence. comparing to manchester technique it has the advant age of keeping nrz datarate i.e. actual bit rate is not halved. SX1213 supported whitening algorithm is given in figure 38 . this figure provides you with the random sequence to be x-ored with the actual payload. the de-whitening process is enabled by setting bit pktpa ram_whitening_on. the data is de-whitened by the SX1213 receiver side by xoring with the same random sequence as the tx. payload de-whitening is thus made transparent for th e user, who still retrieves nrz data from the fifo.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 47 of 65 www.semtech.com x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 x 8 lfsr polynomial =x 9 + x 5 + 1 transmit data whitened data figure 38: data whitening implementation 5.5.6. interrupt signal mapping tables below give the description of the interrupts available in packet mode. table 19: interrupt mapping in rx and stby in packet mode rx_stby_irq_x rx stby 00 (d) payload_ready - 01 write_byte - 10 /fifoempty /fifoempty irq_0 11 sync or adrs_match* - 00 (d) crc_ok - 01 fifofull fifofull 10 rssi - irq_1 11 fifo_threshold fifo_threshold *the latter if address filtering is enabled 5.5.7. uc connections uc SX1213 irq_0 irq_1 nss_config sck mosi miso nss_data figure 39: uc connections in packet mode note that depending upon the application, some uc connections may not be needed: ? irq_0: if none of the relevant irq source s are used. in this case, leave floating.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 48 of 65 www.semtech.com ? irq_1: if none of the relevant irq source s are used. in this case, leave floating. in addition, data pin (unused in packet mode) should be pulled-up to vdd through a 100 k ? resistor. please refer to table 11 for the SX1213?s pin configuration. 5.5.8. packet mode example ? configure all data processing related registers listed below appropriately. in this example we assume crc is enabled with autoclear on. table 20: relevant configuration registers in packet mode (data processing related only) description data_mode_x defines data operation mode ( ? packet) fifo_size defines fifo size mcparam fifo_thresh defines fifo threshold rx_stby_irq_0 defines irq_0 s ource in rx & stby modes irqparam rx_stby_irq_1 defines irq_1 s ource in rx & stby modes sync_size defines sync word size rxparam sync_tol defines the error tolerance on sync word detection syncparam sync_value defines sync word value manchester_on enables manchester decoding payload_length length in fixed format, max length in variable format node_adrs defines node address for address filtering pkt_format defines pa cket format (fixed or variable length) whitening_on enables de-whitening process crc_on enables crc calculation/check adrs_filt enables and defines address filtering pktparam crc_autoclr enables fifo autoclear if crc failed rx mode : ? program rx/stby interrupts: irq_0 mapped to /fifoemp ty (rx_stby_irq_0=10) and irq_1 mapped to crc_ok (rx_stby_irq_1=00) ? go to rx (note that rx is not ready immediately, see section 7.3.1 ? wait for crc_ok interrupt ? go to stby ? read payload bytes from fifo until /fifoempty goes low. ? go to sleep mode 5.5.9. additional information it is not possible to receive multiple packets. once a packet has been rece ived and filled into the fifo all its content needs to be read i.e. the fifo must be empt y for a new packet reception to be initiated. the payload_ready interrupt goes high when the last payl oad byte is available in the fifo and remains high until all its data are read. similar behavior is applic able to adrs_match and crc_ok interrupts. the crc result is available in the crc_status bit as soon as the crc_successful and payload_ready interrupt sources are triggered. in rx mode, crc_status is cl eared when the complete payload has been read from the fifo. if the payload is read in stby mode, then crc_status is cleared when the user goes back to rx mode and a new sync word is detected. the fifo_fill_method and fifo_fill bits don?t have any meani ng in the packet mode and should be set to their default values only.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 49 of 65 www.semtech.com 6. configuration and status registers 6.1. general description table 21 sums-up the control and stat us registers of the SX1213: table 21: registers list name size address description mcparam 12 x 8 0 - 11 main parameters irqparam 4 x 8 12 - 15 interrupt registers rxparam 6 x 8 16 - 21 receiver parameters syncparam 4 x 8 22 ? 25 pattern reserved 1 x 8 26 do not change default value : ?01111110? oscparam 1 x 8 27 crystal oscillator parameters pktparam 4 x 8 28 - 31 packet handler parameters 6.2. main configuration register - mcparam the detailed description of the mcparam register is given in table 22 . table 22: mcparam register description name bits address (d) rw description chip_mode 7-5 0 r/w transceiver mode: 000 ? sleep mode - sleep 001 ? stand-by mode - stby (d) 010 ? frequency synthesizer mode - fs 011 ? receive mode - rx freq_band 4-2 0 r/w frequency band: 000 ? 300-330 mhz 001 ? 320-350 mhz 010 ? 350-390 mhz 011 ? 390-430 mhz 100 ? 430-470 mhz (d) 101 ? 470-510 mhz subbband 1-0 0 r/w frequency sub-band: 00 -> 1st quarter of the selected band (d) 01 -> 2nd quarter of the selected band 10 -> 3rd quarter of the selected band 11 -> 4th quarter of the selected band data_mode 7-6 1 r/w data operation mode: 00 -> continuous mode (d) 01 -> buffered mode 1x -> packet handling mode fsk_ook_ctrl 5-4 1 r/w rxtx modulation scheme: 00 -> reset 01 -> ook 10 -> fsk (d) 11 -> direct mode of transmitter (internal). reserved (external) ook_thresh_type 3-2 1 r/w ook demodulator threshold type: 00 ? fixed threshold mode 01 ? peak mode (d) 10 ? average mode 11 ? reserved
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 50 of 65 www.semtech.com if_gain 1-0 1 r/w gain on the if chain: 00 ? maximal gain (0db) (d) 01 ? -4.5 db 10 ? -9db 11 ? -13.5 db freq_dev 7-0 2 r/w single side frequency deviation in fsk transmit mode: refer to sections error! reference source not found. and error! reference source not found. fdev = 1) (d +? 32 xtal f , 0 ? d ? 255, where d is the value in the register. (d): d = ?00000011? => fdev = 100 khz br_c 7-0 3 r/w c coefficient of the bit rate bit rate = 1)1).(d (c2 ++? xtal f , 0 ? c ? 255, where c is the value in the register. (d): c = ?0000111? => bit rate = 25 kb/s nrz br_d 7-0 4 r/w d coefficient of the bit rate bit rate = 1)1).(d (c2 ++? xtal f , 15 ? d ? 255, where d is the value in the register. (d): d = ?0001111? => bit rate = 25 kb/s nrz res 7-6 5 r/w reserved (d): ?0? low_power_rx 5 5 r/w enables the low power mode of the receiver by reducing the bias current of the lna. 0 -> low power mode disabled (d) 1 -> low power mode enabled trim_band 2-1 5 r/w vco trimming: 00 -> add vco trimming capacitor of weight 3 01 -> add vco trimming capacitor of weight 2 10 -> add vco trimming capacitor of weight 1 11 -> no additional vco trimming capacitor (d) rf_frequency 0 5 r/w selection between the two rf frequencies defined by the synthri, synthpi, and synthsi registers: 0 -> frequency 1 for r1,p1,s1 (d) 1 -> frequency 2 for r2,p2,s2 r1 7-0 6 r/w r counter, active when rps_select=?0? (d):6bh; default values of r1, p1, s1 generate 434.0 mhz in fsk mode p1 7-0 7 r/w p counter, active when rps_select=?0? (d): 2ah; default values of r1, p1, s1 generate 434.0 mhz in fsk mode s1 7-0 8 r/w s counter, active when rps_select=?0? (d): 1eh; default values of r1, p1, s1 generate 434.0 mhz in fsk mode r2 7-0 9 r/w r counter, active when rps_select=?1? (d): 77h; default values of r2, p2, s2 generate 435.0 mhz in fsk mode p2 7-0 10 r/w p counter, active when rps_select=?1? (d): 2fh; default values of r2, p2, s2 generate 435.0 mhz in fsk mode s2 7-0 11 r/w s counter, active when rps_select=?1? (d): 19h; default values of r2, p2, s2 generate 435.0 mhz in fsk mode
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 51 of 65 www.semtech.com 6.3. interrupt configuration parameters - irqparam the detailed description of the irqparam register is given in table 23 . table 23: irqparam register description name bits address (d) rw description fifo_size 7-6 12 r/w configures the size of the fifo: 00 -> 16 bytes (d) 01 -> 32 bytes 10 -> 48 bytes 11 -> 64 bytes fifo_thresh 5-0 12 r/w number of bytes to be written in the fifo to activate the fifo_threshold interrupts actual number of bytes = b + 1, wher e b is the value in the register. (d): b = 001111 => number of bytes = 16 rx_stby_irq_0 7-6 13 r/w irq_0 source in rx and standby modes: if data_mode(1:0) = 00 (continuous mode): 00 ? sync (d) 01 ? rssi 10 ? sync 11 ? sync if data_mode(1:0) = 01 (buffered mode): 00 ? - (d) 01 ? write_byte 10 ? /fifoempty* 11 ? sync if data_mode(1:0) = 1x (packet mode): 00 ? payload_ready (d) 01 ? write_byte 10 ? /fifoempty* 11 ? sync or adrs_match (the latter if address filtering is enabled) *also available in standby mode (cf sections 5.4.3 and 5.5.6 ) rx_stby_irq_1 5-4 13 r/w irq_1 source in rx and standby modes: if data_mode(1:0) = 00 (continuous mode): xx ? dclk if data_mode(1:0) = 01 (buffered mode): 00 ? - (d) 01 ? fifofull* 10 ? rssi 11 ? fifo_threshold* if data_mode(1:0) = 1x (packet mode): 00 ? crc_ok (d) 01 ? fifofull* 10 ? rssi 11 ? fifo_threshold* *also available in standby mode (cf sections 5.4.3 and 5.5.6 ) res 3-2 13 reserved default 0d fifofull 1 13 r fifofull irq source goes high when fifo is full. /fifoempty 0 13 r /fifoempty irq source goes low when fifo is empty
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 52 of 65 www.semtech.com fifo_overrun_clr 0 13 r/w/ c goes high when an overrun error occurred. writing a 1 clears flag and fifo fifo_fill_method 7 14 r/w fifo filling method (buffered mode only): 0 ? automatically starts when a sync word is detected (d) 1 ? manually controlled by fifo_fill fifo_fill 6 14 r/w/ c fifo filling status/contro l (buffered mode only): ? if fifo_fill_method = ?0?: (d) goes high when fifo is being filled (sync word has been detected) writing ?1? clears the bit and waits for a new sync word (if fifo_overrun_clr=0) ? if fifo_fill_method = ?1?: 0 ? stop filling the fifo 1 ? start filling the fifo fifo_fill_method 7 14 r/w fifo filling method (buffered mode only): 0 ? automatically starts when a sync word is detected (d) 1 ? manually controlled by fifo_fill fifo_fill 6 14 r/w/ c fifo filling status/contro l (buffered mode only): ? if fifo_fill_method = ?0?: (d) goes high when fifo is being filled (sync word has been detected) writing ?1? clears the bit and waits for a new sync word (if fifo_overrun_clr=0) ? if fifo_fill_method = ?1?: 0 ? stop filling the fifo 1 ? start filling the fifo res 5 14 r reserved fifo_overrun_clr 4 13 r/w/ c goes high when an overrun error occurred. writing a 1 anytime clears flag (if set) and launches a new rx or tx process res 3 14 r/w (d): ?0?, should be set to ?1?. note: ?0? disables the rssi irq source. it can be left enabled at any time, and the user can choose to map this interrupt to irq0/irq1 or not. rssi_irq 2 14 r/w/ c rssi irq source: goes high when a signal above rssi_irq_thresh is detected writing ?1? clears the bit
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 53 of 65 www.semtech.com 6.4. receiver configuration parameters - rxparam the detailed description of the rxparam register is given in table 24 . table 24: rxparam register description name bits address (d) rw description passivefilt 7-4 16 r/w typical single sideband bandwidth of the passive low-pass filter. passivefilt = 0000 ? 65 khz 0001 ? 82 khz 0010 ? 109 khz 0011 ? 137 khz 0100 ? 157 khz 0101 ? 184 khz 0110 ? 211 khz 0111 ? 234 khz 1000 ? 262 khz 1001 ? 321 khz 1010 ? 378 khz (d) 1011 ? 414 khz 1100 ? 458 khz 1101 ? 514 khz 1110 ? 676 khz 1111 ? 987 khz butterfilt 3-0 16 r/w sets the receiver bandwidth. for bw information pl ease refer to sections 3.3.5 (fsk) and 3.3.6 (ook). 8 (1 . 8.12 .200 0 butterfilt val mhz mhzf khzff xtal c ) + += (d): ?0011? => f c = 200 khz polypfilt_center 7-4 17 r/w central frequency of the polyphase filter (100khz recommended): 8 )_(1 . 8.12 .200 0 center polypfilt val m hz mhzf khzf xtal + = (d):?0011? => f 0 = 100 khz res 3-0 17 r/w reserved (d): ?1000? polypfilt_on 7 18 r/w enable of the polyphase filter, in ook rx mode: 0 ? off (d) 1 ? on bitsync_off 6 18 r/w bit synchronizer: control in continuous rx mode: 0 ? on (d) 1 ? off sync_on 5 18 r/w sync word recognition: 0 ? off (d) 1 ? on sync_size 4-3 18 r/w sync word size: 00 ? 8 bits 01 ? 16 bits 10 ? 24 bits 11 ? 32 bits (d) sync_tol 2-1 18 r/w number of errors tolerated in the sync word recognition: 00 ? 0 error (d) 01 ? 1 error 10 ? 2 errors 11 ? 3 errors res 0 18 r/w reserved (d):?0?
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 54 of 65 www.semtech.com name bits address (d) rw description res 7-0 19 r/w reserved (d): ?00000111? rssi_val 7-0 20 r rssi output, 0.5 db / bit note: read-only (not to be written) ook_thresh_step 7-5 21 r/w size of each decrement of the rssi threshold in the ook demodulator 000 ? 0.5 db (d) 100 ? 3.0 db 001 ? 1.0 db 101 ? 4.0 db 010 ? 1.5 db 110 ? 5.0 db 011 ? 2.0 db 111 ? 6.0 db ook_thresh_dec _period 4-2 21 r/w period of decrement of the rssi threshold in the ook demodulator: 000 ? once in each chip period (d) 001 ? once in 2 chip periods 010 ? once in 4 chip periods 011 ? once in 8 chip periods 100 ? twice in each chip period 101 ? 4 times in each chip period 110 ? 8 times in each chip period 111 ? 16 times in each chip period ook_avg_thresh _cutoff 1-0 21 r/w cutoff frequency of the averaging for the average mode of the ook threshold in demodulator 00 ? f c br / 8. (d) 01 ? reserved 10 ? reserved 11 ? f c br / 32. 6.5. sync word parameters - syncparam the detailed description of the sy ncparam register is given in table 25 . table 25: syncparam register description name bits address (d) rw description sync_value(31:24) 7-0 22 r/w 1 st byte of sync word (d): ?00000000? sync_value(23:16) 7-0 23 2 nd byte of sync word (only used if sync_size 00) (d): ?00000000? sync_value(15:8) 7-0 24 3 rd byte of sync word (only used if sync_size = 1x) (d): ?00000000? sync_value(7:0) 7-0 25 4 th byte of sync word (only used if sync_size = 11) (d): ?00000000?
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 55 of 65 www.semtech.com 6.6. oscillator parameters - oscparam the detailed description of the os cparam register is given in table 26 . table 26: oscparam r egister description name bits address (d) rw description clkout_on 7 27 r/w clkout control 0 ? disabled 1 ? enabled, clk frequency set by clkout_freq (d) clkout_freq 6-2 27 r/w frequency of the signal provided on clkout: xtal ffclkout = if clkout_freq = ?00000? freq clkout f fclkout xtal _2 ? = otherwise (d): 01111 (= 427 khz) res 1-0 27 r/w reserved (d): ?00?
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 56 of 65 www.semtech.com 6.7. packet handling parameters ? pktparam the detailed description of the pktparam register is given in table 27 . table 27: pktparam register description name bits address (d) rw description manchester_on 7 28 r/w enable manchester decoding: 0 ? off (d) 1 ? on payload_length 6-0 28 r/w if pkt_format=0, payload length. if pkt_format=1, max length (d): ?0000000? node_adrs 7-0 29 r/w node?s local address for filtering of received packets. (d): 00h pkt_format 7 30 r/w packet format: 0 ? fixed length (d) 1 ? variable length res 6-5 30 r/w (d) : ?10? whitening_on 4 30 r/w dewhitening process: 0 ? off (d) 1 ? on crc_on 3 30 r/w crc calculation/check: 0 ? off 1 ? on (d) adrs_filt 2-1 30 r/w address f iltering of received packets: 00 ? off (d) 01 ? node_adrs accepted, else rejected. 10 ? node_adrs & 0x00 accepted, else rejected. 11 ? node_adrs & 0x00 & 0xff accepted, else rejected. crc_status 0 30 r crc check result for current packet (read only): 0 ? fail 1 ? pass crc_autoclr 7 31 r/w fifo auto clear if crc failed for current packet: 0 ? on (d) 1 ? off res 6-0 31 r/w reserved (d): ?0000000? recommended to set to ?1000000?
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 57 of 65 www.semtech.com 7. application information 7.1. crystal resonator specification table 28 shows the crystal resonator specific ation for the crystal reference osc illator circuit of the SX1213. this specification covers the full range of operation of the SX1213 and is employed in the reference design (see section 7.5.3 ). table 28: crystal resonator specification name description min. typ. max. unit fxtal nominal frequency 9 12.800 15 mhz cload load capacitance for fxtal 10 15 16.5 pf rm motional resistance - - 100 ohms co shunt capacitance 1 - 7 pf fxtal calibration tolerance at 25+/-3c -15 - +15 ppm fxtal( t) stability over temperature range [-40c ; +85c] -20 - +20 ppm fxtal( t) ageing tolerance in first 5 years -2 - +2 ppm/year note that the initial frequency tolerance, temperat ure stability and ageing performance should be chosen in accordance with the target operating temperat ure range and the receiver bandwidth selected. 7.2. software for frequency calculation the r1, p1, s1, and r2, p2, s2 dividers are configured ov er the spi interface and programmed by 8 bits each, at addresses 6 to 11. the frequency pairs may hence be switched in a single spi cycle. 7.2.1. gui to aid the user with calculating appropriate r, p and s values, software is available to perform the frequency calculation. the SX1213 pll frequency calculator so ftware can be downloaded from the semtech website. 7.2.2. .dll for automatic production bench the dynamically linked library (dll) used by the software to perform these calculations is also provided, free of charge, to users, for inclusion in automatic production testing. key benefits of this are: ? no hand trimming of the reference frequency required: the actual reference frequency of the device under test (dut) can be easily measured (e.g. from the clkout output of the SX1213) and the tool will calculate the best frequencies to compensate for the crystal initial error. ? channel plans can be calculated and stored in the app lication?s memory, then adapted to the actual crystal oscillator frequency. 7.3. switching times and procedures as an ultra-low power device, the SX1213 can be config ured for low minimum average power consumption. to minimize consumption the following optimiz ed transitions between modes are shown.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 58 of 65 www.semtech.com 7.3.1. optimized receive cycle the lowest-power rx cycle is the following: SX1213 idd time set sx1210 in standby mode wait for xo settling set sx1210 in fs mode wait for pll settling set sx1210 in rx mode wait for receiver settling iddr 3.0ma typ. iddfs 1.3ma typ. iddst 65ua typ. iddsl 100na typ. wait ts osc wait ts fs wait ts re receiver is ready : -rssi sampling is valid after a 1/fdev period -received data is valid sx1210 can be put in any other mode rx time figure 40: optimized rx cycle note: if the lock detect indicator is available on an external interrupt pin of the companion uc, it can be used to optimize ts_fs, without having to wa it the maximum specified ts_fs.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 59 of 65 www.semtech.com 7.3.2. receiver frequency hop optimized cycle SX1213 idd time sx1210 is in rx mode sx1210 is now ready for data reception iddr 3ma typ iddfs 1.3ma typ. on channel 1 (r1/p1/s1) wait ts hop wait ts re set sx1210 back in rx mode 1. set r2/p2/s2 2. set sx1210 in fs mode, change mcparam_band if needed, then switch from r1/p1/s1 to r2/p2/s2 figure 41: rx hop cycle note: it is also possible to move from one channel to the other one without having to switch off the receiver. this method is faster, and overall draws more current. for timing information, please refer to ts_re_hop on table 7 .
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 60 of 65 www.semtech.com 7.4. reset of the chip a power-on reset of the SX1213 is triggered at power up. a dditionally, a manual reset can be issued by controlling pin 13. 7.4.1. por if the application requires the disconnection of vdd from the SX1213, despite of the extremely low sleep mode current, the user should wait for 10 ms from of the end of the por cycle before comm encing communications over the spi bus. pin 13 (test8) should be left floating during the por sequence. wait for 10 ms vdd pin 13 (output) chip is ready from this point on undefined figure 42: por timing diagram please note that any clkout activity can also be used to detect that the chip is ready. 7.4.2. manual reset a manual reset of the SX1213 is possible even for applicat ions in which vdd cannot be physically disconnected. pin 13 should be pulled high for a hundred microseconds, and then released. the user should then wait for 5 ms before using the chip. vdd > 100 us chip is ready from this point on wait for 5 ms pin 13 high-z ??1?? high-z ( in p ut ) figure 43: manual reset timing diagram please note that while pin 13 is driven high, an over curr ent consumption of up to ten milliamps can be seen on vdd.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 61 of 65 www.semtech.com 7.5. reference design sx1212 transceiver module is provided to perform the SX1213 evaluation, it is the receiver part of sx1212 transceiver with compatible pinout and same receiver performances. sx1212 reference design is given as an example below. however it is possible to reduce the bom on SX1213 (refer to table 29: reference design bom ). 7.5.1. application schematic figure 44: reference design circuit schematic the reference design area is represented by the dashed re ctangle. c12 is a dc blocking capacitor which protects the saw filter. it has been added for debug purposes could be removed for a direct antenna connection if there is no dc bias is expected at the antenna port. please note that for SX1213 c10 can be replaced a 5.4nh inductor, l4 by a 0ohm, l3, c4, r1, c8 and c11 are not used. saw filter is optional on most application (refer to table 29: reference design bom ) 7.5.2. pcb layout as illustrated in figures below, the layout has the following characteristics: ? very compact (9x19mm) => can be easily inserted even on very small pcbs ? standard pcb technology (2 layers, 1.6mm, std via & clearance) => low cost ? its performance is quasi-insensitive to dielectric thick ness => minimal design effort to transfer to other pcb technologies (thickness, # of layers, etc...)
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 62 of 65 www.semtech.com the layers description is illustrated in figure 45 : signal (35um) isolation (fr4, 1.6mm) ground plane figure 45: reference design?s stackup the layout itself is illustrated in figure 46 . please contact semtech for gerber files. figure 46: reference design layout (top view) 7.5.3. bill of material value ref 315mhz 433mhz tol (+/-) techno size comment u1 SX1213 - transceiver ic tqfn-32 - q1 12.8 mhz 15 ppm at 25c 20 ppm over -40/+85c 2ppm/year max at-cut 5.0*3.2 mm fundamental, cload=15 pf r2 6k8 1% - 0402 loop filter c1 1uf 15% x5r 0402 vdd decoupling c2 100 nf 10% x7r 0402 top regulator decoupling c3 100 nf 10% x7r 0402 digital regulator decoupling c5 100 nf 10% x7r 0402 vco regulator decoupling c6 10 nf 10% x7r 0402 loop filter c7 680 pf 5% npo 0402 loop filter c9 22 pf 5% npo 0402 dc block l1, l2 39 nh 18 nh 2% wire wound 0402 vco tank inductors l3 47 nh 5% monolithic 0402 lna bias inductor u2 315 mhz 434 mhz - saw filter 3.8*3.8 mm optional c12* 47pf 5% npo 0402 dc block *not part of the ref. design (not required for direct antenna connection). table 29: reference design bom note: for battery powered applications, a high value capacitance should be implemented in parallel with c1 (typically 10 f) to offer a low impedance voltage source during startup sequences.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 63 of 65 www.semtech.com 7.5.4. ordering information for tools the modules described in section 7.5 can be ordered through your semtech representative for evaluation purpose: table 30: tools ordering information part number description sm1212e433 2 layer rf module, 433 mhz band (transceiver is used to evaluate the receiver) sm1212e315 2 layer rf module, 315 mhz band (transceiver is used to evaluate the receiver) sx1212ska315 usb evaluation kit, including antennas sx1212ska433 usb evaluation kit, including antennas 8. packaging information 8.1. package outline drawing SX1213 is available in a 32-lead tqfn package as shown in figure 47 below. .193 .193 .142 .142 .012 .007 e1 aaa bbb n e l a2 d1 d e b .020 bsc .146 .016 .003 .004 32 .197 (.008) .146 .197 .010 - 3.60 .150 .020 0.30 .201 .201 .150 - .012 4.90 4.90 3.60 - 0.18 .028 min dim a max dimensions inches - nom .031 0.70 min - 0.05 5.10 5.10 3.80 3.80 0.50 0.30 3.70 0.40 0.10 0.08 32 5.00 (0.20) 3.70 5.00 0.25 - 0.80 max - nom b a aaa c c seating plane 1 2 n bbb c a b coplanarity applies to the exposed pad as well as the terminals. controlling dimensions are in millimeters (angles in degrees). notes: 2. 1. pin 1 indicator (laser mark) e d millimeters 0.50 bsc .002 - 0.00 .000 a1 a1 a2 lxn e/2 bxn d/2 a d1 e1 e e/2 figure 47: package outline drawing
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 64 of 65 www.semtech.com 8.2. pcb land pattern figure 48: pcb land pattern 8.3. tape & reel specification carrier tape reel tape width(w) pocket pitch (p) ao/bo ko reel size reel width min.trail er length min. leader length qty per reel 12 +/-0.3 8 +/-0.1 5.25 +/-0.2 1.10 +/-0.1 330.2 12.4 400 400 3000 notes: *all dimensions in mm *sin g le s p rocket holes direction of feed figure 49: tape & reel dimensions 3. 1. controlling dimensions are in millimeters (angles in degrees). this land pattern is for reference purposes only. consult your manufacturing group to ensure your 2. notes: dim x y h k p c g millimeters inches (5.00) .012 .031 .165 .020 .146 .146 (.197) 0.30 0.80 3.70 0.50 3.70 4.20 dimensions company's manufacturing guidelines are met. 5.80 .228 z k h (c) g z y p x square package - dimensions apply in both " x " and " y " directions. functional performance of the device. failure to do so may compromise the thermal and/or shall be connected to a system ground plane. thermal vias in the land pattern of the exposed pad 4.
SX1213 advanced communications & sensing rev.2 ? july 1 st , 2009 page 65 of 65 www.semtech.com 9. revision history ? revision 2.0: final datasheet supersedes preliminary. 10. contact information semtech corporation advanced communication and sensing products division 200 flynn road, camarillo, ca 93012 phone (805) 498-2111 fax: (805) 498-3804 ? semtech 2009 all rights reserved. reproduction in whole or in part is prohib ited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights. semtech. assumes no responsibility or liability whatsoever fo r any failure or unexpected oper ation resulting from misuse, neglect improper installation, repair or improper handling or unus ual physical or electrical st ress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outsi de the specified range. semtech products are not designed, intended, au thorized or warranted to be suitable for use in life-support applications, devices or systems or other critical applications. inclusion of semtech products in such applications is understood to be undertaken solely at the customer?s own risk. should a customer purchase or use semtech products for any such unauthorized application, the customer shall indemnify and hold semtech and its officers, employees, subsidiaries, affiliates, and distributors harmless a g ainst all claims, costs dama g es and attorne y fees which could arise.


▲Up To Search▲   

 
Price & Availability of SX1213

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X